﻿<navigation:Page 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:dxmnu="http://schemas.devexpress.com/winfx/2008/xaml/agmenu" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/datagrid" x:Class="Crm.Views.Liste"
           mc:Ignorable="d"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Liste Page">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="31*"/>
            <RowDefinition Height="449*"/>
        </Grid.RowDefinitions>

        <dxmnu:AgMenuToolBar Margin="0">
            <dxmnu:AgMenuItem x:Name="ButtonNew" ToolTipService.ToolTip="Yeni" HorizontalAlignment="Center" Click="btnYeni"  VerticalAlignment="Center">
                <dxmnu:AgMenuItem.Icon>
                    <Image Source="/Crm;component/images/add.png" Stretch="Fill" />
                </dxmnu:AgMenuItem.Icon>
            </dxmnu:AgMenuItem>
            <dxmnu:AgMenuItem x:Name="ButtonChange" ToolTipService.ToolTip="Değiştir" HorizontalAlignment="Center" Click="btnDegistir" VerticalAlignment="Center">
                <dxmnu:AgMenuItem.Icon>
                    <Image Source="/Crm;component/images/edit.png" Stretch="Fill" />
                </dxmnu:AgMenuItem.Icon>
            </dxmnu:AgMenuItem>
            <dxmnu:AgMenuItem x:Name="ButtonDelete" ToolTipService.ToolTip="Sil" VerticalAlignment="Center" Click="btnSil" HorizontalAlignment="Center">
                <dxmnu:AgMenuItem.Icon>
                    <Image Source="/Crm;component/images/Close.png" Stretch="Fill" />
                </dxmnu:AgMenuItem.Icon>
            </dxmnu:AgMenuItem>
        </dxmnu:AgMenuToolBar>
        <dxg:AgDataGrid x:Name="grdListe" ColumnsAutoWidth="True"  AllowEditing="False" AutoGenerateColumns="True" Margin="0,2,0,0" Grid.Row="1"/>

    </Grid>
</navigation:Page>
